package com.tony.spring.mode.strategy;

/**
 * 每一人
 * @author qiu
 *
 */
public class Person {
	
	private JobStrategy jobStrategy;
	
	public Person(JobStrategy jobStrategy){
		this.jobStrategy = jobStrategy;
	}
	
	public void goJob(){
		jobStrategy.job();
	}
	

}
